<template>
	<div class="workFlowCondition" v-if="showWorkFlowCondition">
		<el-dialog title="工作流完成情况" width="50%" :visible.sync="showWorkFlowCondition" :before-close="closeWorkFlowCondition">
			<Table :tableData="workFlowData"></Table>
		</el-dialog>
	</div>
</template>

<script>
import Table from '../../components/Table.vue';

export default {
	components: {
		Table
	},
	props: {
		showWorkFlowCondition: {
			required: true,
			type: Boolean,
			default: () => false
		},
		workFlowData: {
			required: true,
			type: Object,
			default: () => {}
		}
	},
	data() {
		return {};
	},

	mounted() {},
	methods: {
		closeWorkFlowCondition() {
			this.$emit('closeWorkFlowCondition');
		}
	}
};
</script>

<style scoped lang="less"></style>
